from django.urls import path
from .views import AttentionViewSet

# urlpatterns = [
#     path('like', LikeView.as_view({'get': 'list'})),
#     path('number', LikeView.as_view({'get': 'fansAndFllowers'})),
#     path('book', LikeView.as_view({'get': 'queryBook'})),
#     path('auth', LikeView.as_view({'post': 'realAuth'})),
# ]
urlpatterns = [
    path('create', AttentionViewSet.as_view({'post': 'createAttent'})),
    path('attent_list', AttentionViewSet.as_view({'get': 'attentionList'})),
    path('fan_list', AttentionViewSet.as_view({'get': 'fansList'})),
    path('real_auth', AttentionViewSet.as_view({'post': 'realAuth'})),
]
